home *** CD-ROM | disk | FTP | other *** search
- # ifndef yyErrors
- # define yyErrors
-
- /* $Id: Errors.h,v 2.6 1992/08/07 15:28:42 grosch rel $ */
-
- # include "Positions.h"
-
- # define xxNoText 0
- # define xxSyntaxError 1 /* error codes */
- # define xxExpectedTokens 2
- # define xxRestartPoint 3
- # define xxTokenInserted 4
-
- # define xxFatal 1 /* error classes */
- # define xxRestriction 2
- # define xxError 3
- # define xxWarning 4
- # define xxRepair 5
- # define xxNote 6
- # define xxInformation 7
-
- # define xxNone 0
- # define xxInteger 1 /* info classes */
- # define xxShort 2
- # define xxLong 3
- # define xxReal 4
- # define xxBoolean 5
- # define xxCharacter 6
- # define xxString 7
- # define xxSet 8
- # define xxIdent 9
-
- # if defined __STDC__ | defined __cplusplus
- # define ARGS(parameters) parameters
- # else
- # define ARGS(parameters) ()
- # endif
-
- extern void (* Errors_Exit) ();
-
- extern void ErrorMessage ARGS((short yyErrorCode, short yyErrorClass, tPosition yyPosition));
- extern void ErrorMessageI ARGS((short yyErrorCode, short yyErrorClass, tPosition yyPosition, short yyInfoClass, char * yyInfo));
- extern void Message ARGS((char * yyErrorText, short yyErrorClass, tPosition yyPosition));
- extern void MessageI ARGS((char * yyErrorText, short yyErrorClass, tPosition yyPosition, short yyInfoClass, char * yyInfo));
-
- # endif
-